#ifndef PM_PROJECT_H_INCLUDED
#define PM_PROJECT_H_INCLUDED

#include "pm/dbobject.h"

namespace pm {

class Project : public db::Table
{
public:
	db::text  name;
	
	static const wxString TABLE_NAME;
	
public:
	Project();
    Project(wxSQLite3ResultSet& res);

	// DB
	virtual db::update_value_t prepare_insert(wxSQLite3Database& db);
	virtual db::update_value_t prepare_update(wxSQLite3Database& db);
};

typedef std::list<Project> ListProject;

} // namespace pm

#endif // PM_PROJECT_H_INCLUDED
